{% extends "base.html" %}

{% block title %}WH Closing{% endblock %}
{% block heading %}WH Closing{% endblock %}

{% block content %}
		
		<form name="mainform" action='/closing' method='post'>

		<table>
			<tr>
				<td>Original WH mass:</td>
				<td><input type='text' name='rawmass' value='{{rawmass}}' /> kg</td>
			</tr>
			<tr>
				<td>Current state:</td>
				<td>
					<select name='site_type'>
						<option selected='selected'>Fresh</option>
						<option>Reduced</option>
						<option>Critical</option>
					</select> 
				</td>
			</tr>
			<tr>
				<td>Add:</td>
				<td><input type='text' name='add_mass' /> kg </td>
				<td><input type='text' name='add_desc' /> (summary)</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type='submit' value='Recalc' /></td>
			</tr>	
		</table>

		</form>

		<script type="text/javascript">
			document.mainform.rawmass.focus();
			document.mainform.rawmass.select();
		</script>
{% endblock %}
